package com.ios.dao;

import com.ios.entity.LoginRecord;

public interface LoginRecordMapper {
    /**
    *@Author:WenTao
    *@Description:增加一条登录记录
    *@Date:11:20 2018/7/26
    */
    int insert(LoginRecord record);

    /**
    *@Author:WenTao
    *@Description:更新登录状态
    *@Date:11:22 2018/7/26
    */
    int update(LoginRecord record);

    /**
    *@Author:WenTao
    *@Description:根据id查询
    *@Date:15:26 2018/7/26
    */
    LoginRecord selectbyId(int id);
}
